package com.ruoyi.document.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 币种名称管理对象 currency
 * 
 * @author ruoyi
 * @date 2023-03-04
 */
public class Currency extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 币种id */
    private Integer currencyId;

    /** 币种名称 */
    @Excel(name = "币种名称")
    private String currencyName;

    public void setCurrencyId(Integer currencyId) 
    {
        this.currencyId = currencyId;
    }

    public Integer getCurrencyId() 
    {
        return currencyId;
    }
    public void setCurrencyName(String currencyName) 
    {
        this.currencyName = currencyName;
    }

    public String getCurrencyName() 
    {
        return currencyName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("currencyId", getCurrencyId())
            .append("currencyName", getCurrencyName())
            .toString();
    }
}
